package com.dormitory.manage.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 * @version 1.0
 * @description Comment
 * @date 2023/4/21 0021 9:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_comment")
public class Comment {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("username")
    private String username;

    @TableField("content")
    private String content;

    @TableField("create_time")
    private Date createTime;


    @TableField("avatar")
    private String avatar;

    @TableField("is_completed")
    private Integer isCompleted;
}
